package com.potevio.simulator.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName 中心合法用户认证报文 0x7a
 * @Description:
 * @Date 221/5/1  1:52
 * @Author zyd
 */
@Component
public class CenterLegalUserAuthMsg0x7A {
    // 版本域
    public static String versionDomain;

    // 序列号域
    public static String serialNumberDomain;

    // 命令代码
    public static String commandCode;

    // 用户ID
    public static String userId;

    // 指令序号
    public static String instructionsNumber;

    public static String cardNumber;
    public static String userCertificatesType;
    public static String userCertificatesNumber;
    public static String acceptanceChannel;
    public static String issueOrganizationSerialNumber;
    public static String issueOrganizationCode;
    public static String operatorNumber;
    public static String transactionTime;
    public static String chargePort;
    public static String handleState;
    public static String msgAuthCode;

    @Value("${message.centerLegalUserAuthentication.version-domain}")
    public void setVersionDomain(String versionDomain) {
        CenterLegalUserAuthMsg0x7A.versionDomain = versionDomain;
    }

    @Value("${message.centerLegalUserAuthentication.serial-number-domain}")
    public void setSerialNumberDomain(String serialNumberDomain) {
        CenterLegalUserAuthMsg0x7A.serialNumberDomain = serialNumberDomain;
    }

    @Value("${message.centerLegalUserAuthentication.command-code}")
    public void setCommandCode(String commandCode) {
        CenterLegalUserAuthMsg0x7A.commandCode = commandCode;
    }

    @Value("${message.centerLegalUserAuthentication.user-id}")
    public void setUserId(String userId) {
        CenterLegalUserAuthMsg0x7A.userId = userId;
    }

    @Value("${message.centerLegalUserAuthentication.instructions-number}")
    public void setInstructionsNumber(String instructionsNumber) {
        CenterLegalUserAuthMsg0x7A.instructionsNumber = instructionsNumber;
    }

    @Value("${message.centerLegalUserAuthentication.card-number}")
    public void setCardNumber(String cardNumber) {
        CenterLegalUserAuthMsg0x7A.cardNumber = cardNumber;
    }

    @Value("${message.centerLegalUserAuthentication.user-certificates-type}")
    public void setUserCertificatesType(String userCertificatesType) {
        CenterLegalUserAuthMsg0x7A.userCertificatesType = userCertificatesType;
    }

    @Value("${message.centerLegalUserAuthentication.user-certificates-number}")
    public void setUserCertificatesNumber(String userCertificatesNumber) {
        CenterLegalUserAuthMsg0x7A.userCertificatesNumber = userCertificatesNumber;
    }

    @Value("${message.centerLegalUserAuthentication.acceptance-channel}")
    public void setAcceptanceChannel(String acceptanceChannel) {
        CenterLegalUserAuthMsg0x7A.acceptanceChannel = acceptanceChannel;
    }

    @Value("${message.centerLegalUserAuthentication.issue-organization-serial-number}")
    public void setIssueOrganizationSerialnumber(String issueOrganizationSerialNumber) {
        CenterLegalUserAuthMsg0x7A.issueOrganizationSerialNumber = issueOrganizationSerialNumber;
    }

    @Value("${message.centerLegalUserAuthentication.issue-organization-code}")
    public void setIssueOrganizationCode(String issueOrganizationCode) {
        CenterLegalUserAuthMsg0x7A.issueOrganizationCode = issueOrganizationCode;
    }

    @Value("${message.centerLegalUserAuthentication.operator-number}")
    public void setOperatorNumber(String operatorNumber) {
        CenterLegalUserAuthMsg0x7A.operatorNumber = operatorNumber;
    }

    @Value("${message.centerLegalUserAuthentication.transaction-time}")
    public void setTransactionTime(String transactionTime) {
        CenterLegalUserAuthMsg0x7A.transactionTime = transactionTime;
    }

    @Value("${message.centerLegalUserAuthentication.charge-port}")
    public void setChargePort(String chargePort) {
        CenterLegalUserAuthMsg0x7A.chargePort = chargePort;
    }

    @Value("${message.centerLegalUserAuthentication.handle-state}")
    public void setHandleState(String handleState) {
        CenterLegalUserAuthMsg0x7A.handleState = handleState;
    }

    @Value("${message.centerLegalUserAuthentication.msg-auth-code}")
    public void setMsgAuthCode(String msgAuthCode) {
        CenterLegalUserAuthMsg0x7A.msgAuthCode = msgAuthCode;
    }
}
